feat(files_reader): add native TypeSpec (.tsp) file support - #9
Closed
KvizadSaderah wants to merge 1 commit into
Closed
feat(files_reader): add native TypeSpec (.tsp) file support#9KvizadSaderah wants to merge 1 commit into
KvizadSaderah wants to merge 1 commit into
Conversation
Adds automatic compilation of TypeSpec files to JSON Schema: - Added .tsp to valid_extensions for file discovery - Created _compile_tsp() method using subprocess to call tsp compiler - Falls back to npx @typespec/compiler if tsp not in PATH - Gracefully skips .tsp files if compiler not available - Updated README with native TypeSpec documentation Requires: npm install -g @typespec/compiler @typespec/json-schema Closes request from PR GlobalTypeSystem#8 review
Contributor
|
Let's get rid of TypeSpec support for now because it doesn't offer native libs w/o a need to run subprocess'es |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds automatic compilation of TypeSpec files to JSON Schema:
Requires: npm install -g @typespec/compiler @typespec/json-schema
Closes request from PR #8